capacity.lock
Capacity Lock
Build an unsigned transfer that funds a target lock address with optional memo metadata.
Request Fields
network
testnet
fromAddress
CKB testnet address
lockAddress
CKB testnet address
amountCkb
decimal string
memo
optional string
feeRate
positive integer string
Sample Request
{
"network": "testnet",
"fromAddress": "ckt1...",
"lockAddress": "ckt1...",
"amountCkb": "100",
"memo": "Grant milestone reserve",
"feeRate": "1000"
}Sample Response
{
"action": "capacity.lock",
"status": "built",
"summary": {
"memo": "Grant milestone reserve"
}
}Limitations
- Not a custom lock script
- Memo is metadata unless future data-cell support stores it
- Requires indexer access