xudt.transfer

xUDT Transfer

Build an unsigned xUDT transfer with token cells, capacity funding, and configured xUDT deps.

Request Fields

network
testnet
fromAddress
CKB testnet address
toAddress
CKB testnet address
xudtTypeScript
codeHash/hashType/args
amount
positive integer string
feeRate
positive integer string

Sample Request

{
  "network": "testnet",
  "fromAddress": "ckt1...",
  "toAddress": "ckt1...",
  "xudtTypeScript": {
    "codeHash": "0x...",
    "hashType": "type",
    "args": "0x..."
  },
  "amount": "1000",
  "feeRate": "1000"
}

Sample Response

{
  "error": "missing_config",
  "message": "xUDT cell dep is not configured for this network."
}

Limitations

  • Requires TESTNET_XUDT_* backend config
  • Requires indexer access
  • No guessed script deps