account credentials issuing the asset
which asset to claim from
UIA raw amount
DCT raw amount
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Get asset by id and convert amount in DCT to this asset
asset id to get
amount to convert
rounding mode to use when rounding to target asset precision
Get asset by id and convert amount in this asset to DCT
asset id to get
amount to convert
rounding mode to use when rounding to target asset precision
Create a new Asset.
account credentials issuing the asset
the string symbol, 3-16 uppercase chars
base unit precision, decimal places used in string representation
optional description
asset options
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create asset create operation.
account id issuing the asset
the string symbol, 3-16 uppercase chars
base unit precision, decimal places used in string representation
optional description
asset options
options for monitored asset
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create issue asset operation. Only the issuer of the asset can issue some funds until maxSupply is reached.
asset to issue
raw amount to issue
optional account id receiving the created funds, issuer account id is used if not defined
optional memo for receiver
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create update advanced options operation for the asset.
asset to update
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create update asset operation.
asset to update
a new issuer account id
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create claim fees operation. Claim funds from asset pool, only the asset issuer can claim.
which asset to claim from
UIA raw amount
DCT raw amount
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Create fund asset pool operation. Any account can fund a pool.
which asset to fund
UIA raw amount
DCT raw amount
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
cannot create asset_create_op has account_id_type fee_payer()const { return monitored_asset_opts.valid() ? account_id_type() : issuer; } therefore throws Missing Active Authority 1.2.0
Create reserve funds operation. Return issued funds to the issuer of the asset.
which asset to reserve from
raw amount to remove from current supply
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Fund asset pool. Any account can fund a pool.
account credentials funding the pool
which asset to fund
UIA raw amount
DCT raw amount
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Get asset by id or symbol.
asset id eg. DCT or id 1.3.0
asset or ObjectNotFoundError
Get assets by id.
asset id eg. DCT id is 1.3.0
list of assets or ObjectNotFoundError
Get assets by symbol
asset symbols eg. DCT
list of assets or ObjectNotFoundError
Get asset dynamic data by id.
asset data id eg. DCT id is 2.3.0
asset dynamic data or ObjectNotFoundError
Get asset by symbol
asset symbol eg. DCT
asset or ObjectNotFoundError
Return current core asset supply.
current supply
Issue asset. Only the issuer of the asset can issue some funds until maxSupply is reached.
account credentials issuing the asset
asset to issue
raw amount to issue
optional account id receiving the created funds, issuer account id is used if not defined
optional memo for receiver
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Get assets alphabetically by symbol name.
lower bound of symbol names to retrieve
maximum number of assets to fetch (must not exceed 100)
the assets found
Reserve funds. Return issued funds to the issuer of the asset.
account credentials returning the asset
which asset to reserve from
raw amount to remove from current supply
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Update asset.
account credentials issuing the asset
asset to update
new exchange rate, DCT base amount to UIA quote amount pair
new description
enable converting the asset to DCT, so it can be used to pay for fees
new max supply
a new issuer account id
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Update advanced options for the asset.
account credentials issuing the asset
asset to update
new precision
whether it should be allowed to change max supply, cannot be reverted once set to true
fee for the operation or asset id, if left undefined the fee will be computed in DCT asset. When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough
Generated using TypeDoc
Claim fees. Claim funds from asset pool, only the asset issuer can claim.