ckb.transfer
CKB Transfer
Build an unsigned CKB transfer transaction for testnet wallets and apps.
Request Fields
network
testnet
fromAddress
CKB testnet address
toAddress
CKB testnet address
amountCkb
decimal string
feeRate
positive integer string
Sample Request
{
"network": "testnet",
"fromAddress": "ckt1...",
"toAddress": "ckt1...",
"amountCkb": "100",
"feeRate": "1000"
}Sample Response
{
"action": "ckb.transfer",
"network": "testnet",
"status": "built",
"summary": {
"amountCkb": "100",
"amountShannons": "10000000000"
},
"transaction": {
"version": "0x0",
"cellDeps": [],
"headerDeps": [],
"inputs": [],
"outputs": [],
"outputsData": [],
"witnesses": []
},
"signing": {
"required": true,
"signerAddress": "ckt1...",
"witnessPlaceholders": []
},
"warnings": [],
"nextSteps": [
"Review transaction payload",
"Sign with compatible CKB wallet",
"Broadcast signed transaction"
]
}Limitations
- Requires live cells from a CKB indexer
- Unsigned payload only
- No broadcasting