Interface: KeyInfo
Important information returned in many view calls regarding a specific access key.
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
curKeyUse
curKeyUse: number
Which use is the key currently on? For single-use keys, this is always 1.
Defined in
dropId
dropId: string
Drop ID for the specific drop that the key belongs to.
Defined in
keyId
keyId: 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
lastUsed
lastUsed: 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
publicKey
publicKey: string
Public key for this access key.
Defined in
remainingUses
remainingUses: number
How many uses this key has left before it's deleted.