data_cell.create
Data Cell Create
Build an unsigned transaction that creates an ordinary CKB data cell.
Request Fields
network
testnet
fromAddress
CKB testnet address
data
encoding/content
capacityCkb
decimal string
feeRate
positive integer string
Sample Request
{
"network": "testnet",
"fromAddress": "ckt1...",
"data": {
"encoding": "utf8",
"content": "Hello CKB"
},
"capacityCkb": "100",
"feeRate": "1000"
}Sample Response
{
"action": "data_cell.create",
"status": "built",
"summary": {
"dataHex": "0x48656c6c6f20434b42"
}
}Limitations
- Supports utf8 and hex content
- Requires enough occupied capacity
- Requires indexer access