NEARClaimParams
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / NEARClaimParams
Interface: NEARClaimParams
Section titled “Interface: NEARClaimParams”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18331
Parameters for claiming a stealth payment
Properties
Section titled “Properties”rpcUrl
Section titled “rpcUrl”rpcUrl:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18333
NEAR RPC URL
stealthAddress
Section titled “stealthAddress”stealthAddress:
StealthAddress
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18335
Stealth address to claim from
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18337
Ephemeral public key from the announcement
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18339
Viewing private key
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18341
Spending private key
destinationAccountId
Section titled “destinationAccountId”destinationAccountId:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18343
Destination account ID to receive funds
networkId?
Section titled “networkId?”
optionalnetworkId?:"testnet"|"localnet"|"mainnet"|"betanet"
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18345
Network ID
tokenContract?
Section titled “tokenContract?”
optionaltokenContract?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18347
Token contract for NEP-141 claims (omit for native NEAR)
amount?
Section titled “amount?”
optionalamount?:bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18349
Amount to claim (defaults to full balance)
optionalgas?:bigint
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18351
Gas limit