NEARViewingKeyExport
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARViewingKeyExport
Interface: NEARViewingKeyExport
Section titled “Interface: NEARViewingKeyExport”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18558
Standard export format for NEAR viewing keys
Properties
Section titled “Properties”version
Section titled “version”version:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18562
Export format version
chain:
"near"
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18566
The chain this key is for
privateKey
Section titled “privateKey”privateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18570
The viewing private key (hex encoded)
publicKey
Section titled “publicKey”publicKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18574
The viewing public key (hex encoded)
hash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18578
Hash for announcement matching
label?
Section titled “label?”
optionallabel:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18582
Optional label
createdAt
Section titled “createdAt”createdAt:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18586
Creation timestamp
exportedAt
Section titled “exportedAt”exportedAt:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18590
Export timestamp