title | order |
---|---|
Change Trust Object |
90 |
import { ExampleResponse } from "components/ExampleResponse"; import { AttributeTable } from "components/AttributeTable";
Creates, updates, or deletes a trust line from the source account to another account's issued asset.
See the Change Trust
errors.
- ATTRIBUTE
- DATA TYPE
- DESCRIPTION
- asset_type
- string
- The type of asset being trusted, one of
native
,credit_alphanum4
,credit_alphanum12
, orliquidity_pool_shares
.
- asset_code
- string
- The Stellar address of the asset being trusted. (Only present for credit assets.)
- asset_issuer
- string
- The code for the asset being trusted. (Only present for credit assets.)
- limit
- string
- Limits the amount of an asset that the source account can hold.
- trustee
- string
- The issuing account. (Only present for credit assets.)
- trustor
- string
- The source account.
- liquidity_pool_id
- string
- The liquidity pool whose trustline is being modified. (Only present for
asset_type == liquidity_pool_shares
.)
{
"_links": {
"self": {
"href": "https://horizon.stellar.org/operations/120192477935251457"
},
"transaction": {
"href": "https://horizon.stellar.org/transactions/ec4116595bdfa8c1039c40af425e497c91fcf387c2a2a0cfa1f3bf64733f1f23"
},
"effects": {
"href": "https://horizon.stellar.org/operations/120192477935251457/effects"
},
"succeeds": {
"href": "https://horizon.stellar.org/effects?order=desc\u0026cursor=120192477935251457"
},
"precedes": {
"href": "https://horizon.stellar.org/effects?order=asc\u0026cursor=120192477935251457"
}
},
"id": "120192477935251457",
"paging_token": "120192477935251457",
"transaction_successful": true,
"source_account": "GAYOLLLUIZE4DZMBB2ZBKGBUBZLIOYU6XFLW37GBP2VZD3ABNXCW4BVA",
"type": "change_trust",
"type_i": 6,
"created_at": "2020-01-29T19:46:55Z",
"transaction_hash": "ec4116595bdfa8c1039c40af425e497c91fcf387c2a2a0cfa1f3bf64733f1f23",
"asset_type": "credit_alphanum4",
"asset_code": "NGNT",
"asset_issuer": "GAWODAROMJ33V5YDFY3NPYTHVYQG7MJXVJ2ND3AOGIHYRWINES6ACCPD",
"limit": "922337203685.4775807",
"trustee": "GAWODAROMJ33V5YDFY3NPYTHVYQG7MJXVJ2ND3AOGIHYRWINES6ACCPD",
"trustor": "GAYOLLLUIZE4DZMBB2ZBKGBUBZLIOYU6XFLW37GBP2VZD3ABNXCW4BVA"
}