rwa

Freeze

Revokes authorization for an account's trustline, effectively freezing their ability to transact with the specified asset.

💡 Compute Unit Value: 25 (Fixed)

post/defi/v1/rwa/freeze

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/rwa/freeze
  • Auth
    API key in header X-API-Key

Request body

chainId'1500' | '1501' | '1600' | '1601'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

chainSymbolstring

The abbreviated chain name for queries or transactions.

userstring required

Public address of the account whose asset is being frozen.

issuerstring required

Public address of the issuer of the asset.

assetCodestring required

The unique alphanumeric code identifying the asset.

amountstring required

Amount of the asset involved in the transaction, in the asset's smallest denomination (base units). Do not send human-readable decimal values. Examples: EVM tokens (18 decimals) = "1000000000000000000"; Stellar (7 decimals) = "10000000".

Example request

{
  "chainId": "1500",
  "chainSymbol": "ETH",
  "user": "GAJ4BSGJE6UQHZAZ5U5IUOABPDCYPKPS3RFS2NVNGFGFXGVQDLBQJW2P",
  "issuer": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
  "assetCode": "VELO",
  "amount": "1000000000000000000"
}

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "chainId": "1500",
    "from": "GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M",
    "gas": "100",
    "data": "AAAAAgAAAADZyMKQhSslQB+XiM/cOX7KIx+Q+JfpgDD4dBInpIgizQAAAMgB5a+YAAAAAwAAAAEAAAAAAAAAAAAAAABmD8EjAAAAAAAAAAIAAAAAAAAABQAAAAAAAAAAAAAAAQAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAATwMjJJ6kD5BntOoo4AXjFh6ny3EstNq0xTFuasBrDBAAAAAFWRUxPAAAAAAAAAAAAAAAA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.