NEARClaimParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NEARClaimParams
Interface: NEARClaimParams
Section titled “Interface: NEARClaimParams”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17995
Parameters for claiming a stealth payment
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17997
NEAR RPC URL
stealthAddress
Section titled “stealthAddress”stealthAddress:
StealthAddress
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17999
Stealth address to claim from
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18001
Ephemeral public key from the announcement
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18003
Viewing private key
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18005
Spending private key
destinationAccountId
Section titled “destinationAccountId”destinationAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18007
Destination account ID to receive funds
networkId?
Section titled “networkId?”
optionalnetworkId:"testnet"|"localnet"|"mainnet"|"betanet"
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18009
Network ID
tokenContract?
Section titled “tokenContract?”
optionaltokenContract:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18011
Token contract for NEP-141 claims (omit for native NEAR)
amount?
Section titled “amount?”
optionalamount:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18013
Amount to claim (defaults to full balance)
optionalgas:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18015
Gas limit