xpop_slot
Behaviour
Section titled “Behaviour”- Locate the xpop blob on the
Importtransaction - Emplace the located tx and meta objects into the slots specified
Definition
Section titled “Definition”int64_t xpop_slot ( uint32_t slot_no_tx, uint32_t slot_no_meta);function xpop_slot(slotno_tx: number, slotno_meta: number): ErrorCode | numberExample
Section titled “Example”int64_t bytes_written = xpop_slot(1, 2); // assumes a txn is slotted into slot=1 meta is slotted into slot=2const bytes_written = xpop_slot(1, 2)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| slot_no_tx | uint32_t | The slot number to emplace the tx blob into. |
| slot_no_meta | uin32_t | The slot number to emplace the meta blob into. |
| Name | Type | Description |
|---|---|---|
| slotno_tx | number | The transaction slot number to pop. |
| slotno_meta | number | The metadata slot number to pop. |
Return Code
Section titled “Return Code”| Type | Description |
|---|---|
| int64_t |
|
| Type | Description |
|---|---|
| number or ErrorCode | Returns an error code or the result of the pop operation. |