Stellar RWA

/settrustline

Implement a trustline between issuer and distributor.

POST https://api.expand.network/rwa/settrustline

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

chainId*

String

chainSymbol

String

from*

String

Public address of the distributor of asset.

amount*

String

The amount of asset to set trustline for.

issuer*

String

Public address of the issuer of the asset.

assetCode*

String

The code of asset to set trustline for.

{
    "chainId": "1500",
    "from": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P",
    "amount": "100",
    "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
    "assetCode": "VELO"
}

/issue

Executes a payment operation to create (or mint) an asset on the Stellar network.

POST https://api.expand.network/rwa/issue

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

chainId*

String

chainSymbol

String

issuer*

String

Public address of the issuer of the asset.

assetCode*

String

The code of asset to be issued.

amount*

String

The amount at asset to be issued.

to*

String

The public address of the distributor.

{
    "chainId": "1500",
    "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
    "assetCode": "ExpandDollar",
    "amount": "54",
    "to": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P"
}

/transfer

Trigger a payment operation to send an amount in a specific asset (XLM or non-XLM) to a destination account.

POST https://api.expand.network/rwa/transfer

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

chainId*

String

chainSymbol

String

from*

String

Public address of sender of asset.

to*

String

Public address of the receiver of the asset.

amount*

String

Amount of asset to transfer.

issuer*

String

Public address of the issuer of the asset.

assetCode*

String

The code of the asset to transfer.

{
    "chainId": "1500",
    "from": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P",
    "to": "GDUY7J7A33TQWOSOQGDO776GGLM3UQERL4J3SPT56F6YS4ID7MLDERI4",
    "amount": "100",
    "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
    "assetCode": "VELO"
}

/burn

Executes a transaction to burn or delete an asset.

POST https://api.expand.network/rwa/burn

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

chainId*

String

chainSymbol

String

from*

String

Public address of the distributor of asset.

amount*

String

The amount of asset to burn

issuer*

String

Public address of the issuer of the asset.

assetCode*

String

The code of asset to burn

{
  "chainId": "1500",
  "from": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P",
  "amount": "100",
  "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
  "assetCode": "VELO"
}

/freeze

Executes a transaction to revoke an existing trustline’s authorization, thereby freezing the asset held by an account.

POST https://api.expand.network/rwa/freeze

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

chainId*

String

chainSymbol

String

user*

String

Public address of user to be freezed.

issuer*

String

Public address of the issuer of the asset.

assetCode*

String

The code of the asset to freeze

{
    "chainId": "1500",
    "user": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P",
    "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
    "assetCode": "VELO"
}

Last updated

#553: ENC-2526-LIDO

Change request updated