PATTERN_TYPE_HASH256
PATTERN_TYPE_HASH256
The hex representation of a 256-bit hash
A simplified Trustline object used by the ripple-rest API
PATTERN_TYPE_RESOURCEID
A client-supplied unique identifier (ideally a UUID) for this transaction used to prevent duplicate payments and help confirm the transaction's final status. All ASCII printable characters are allowed. Note that 256-bit hex strings are disallowed because of the potential confusion with transaction hashes.
$previous : \RippleRestTrustline
If the trustline was changed this will be a full Trustline object representing the previous values. If the previous object also had a previous object that will be removed to reduce data complexity. Trustline changes can be walked backwards by querying the API for previous.hash repeatedly
__construct(array $data) : \RippleRestTrustline
Create a new instance of RippleRestTrustline.
array | $data | (defaults to |
setAuthorizedByAccount(boolean $value) : null
Set to true if the account has explicitly authorized the counterparty to hold currency it issues. This is only necessary if the account's settings include require_authorization_for_incoming_trustlines
boolean | $value |
setAuthorizedByCounterparty(boolean $value) : null
Set to true if the counterparty has explicitly authorized the account to hold currency it issues. This is only necessary if the counterparty's settings include require_authorization_for_incoming_trustlines
boolean | $value |
setHash(string $value) : null
If this object was returned by a historical query this value will be the hash of the transaction that modified this Trustline. The transaction hash is used throughout the Ripple Protocol to uniquely identify a particular transaction
string | $value | (Hash256) |
getPrevious() : \RippleRestTrustline
If the trustline was changed this will be a full Trustline object representing the previous values. If the previous object also had a previous object that will be removed to reduce data complexity. Trustline changes can be walked backwards by querying the API for previous.hash repeatedly
setPrevious(\RippleRestTrustline $value) : null
If the trustline was changed this will be a full Trustline object representing the previous values. If the previous object also had a previous object that will be removed to reduce data complexity. Trustline changes can be walked backwards by querying the API for previous.hash repeatedly
\RippleRestTrustline | $value |