Last updated
Was this helpful?
Last updated
Was this helpful?
Load the metadata of the originating transaction into a slot
int64_t
The slot the otxn was placed in
INVALID_ARGUMENT
- specified slot number exceeds the largest possible slot number
NO_FREE_SLOTS
- the request could not granted because no free slot was avaialble to place the originating transaction into.
PREREQUISITE_NOT_MET
- The hook is being Strongly Executed and therefore no transactional metadata is available.
ErrorCode | number
Returns an error code or the slot's metadata.
slot_no
uint32_t
The slot number to emplace into, or 0 if you wish to pick the next available.
slotno
number
The slot number to retrieve metadata for.