NEARViewingKeyExport
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARViewingKeyExport
Interface: NEARViewingKeyExport
Section titled “Interface: NEARViewingKeyExport”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18894
Standard export format for NEAR viewing keys
Properties
Section titled “Properties”version
Section titled “version”version:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18898
Export format version
chain:
"near"
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18902
The chain this key is for
privateKey
Section titled “privateKey”privateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18906
The viewing private key (hex encoded)
publicKey
Section titled “publicKey”publicKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18910
The viewing public key (hex encoded)
hash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18914
Hash for announcement matching
label?
Section titled “label?”
optionallabel?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18918
Optional label
createdAt
Section titled “createdAt”createdAt:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18922
Creation timestamp
exportedAt
Section titled “exportedAt”exportedAt:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18926
Export timestamp