Interface: ProtocolReturnedKeyInfo
Key information returned from the Protocol. This interface is exactly the same as the KeyInfo, except all the fields are
snake cased instead of camel cased due to what the Protocol returns.
Properties
allowance
allowance: number
How much allowance does the key have left (measured in $yoctoNEAR). When the key is deleted, this is refunded to the funder's balance.
Defined in
cur_key_use
cur_key_use: number
Which use is the key currently on? For single-use keys, this is always 1.
Defined in
drop_id
drop_id: string
Drop ID for the specific drop that the key belongs to.
Defined in
key_id
key_id: number
The unique ID associated to this key. IDs are not unique across drops but they are unique for any key in the drop.
Defined in
last_used
last_used: number
At what timestamp was the key last used? Measured in number of non-leap-nanoseconds since January 1, 1970 0:00:00 UTC.
Defined in
public_key
public_key: string
Public key for this access key.
Defined in
remaining_uses
remaining_uses: number
How many uses this key has left before it's deleted.