{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/blockdaemon/main/json-schema/blockdaemon-withdrawal-intent-near-schema.json", "title": "WithdrawalIntentNear", "description": "NEAR Protocol Withdrawal Intent", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/blockdaemon-staking-api-1-0-0-openapi.yml#/components/schemas/WithdrawalIntentNear", "type": "object", "required": [ "to", "unsigned_transaction", "unsigned_transaction_hash", "wallet_address", "public_key", "withdrawal_intent_id", "expiration_time" ], "properties": { "withdrawal_intent_id": { "type": "string", "format": "uuid", "description": "Unique idenifier for deactivate intent." }, "to": { "$ref": "#/$defs/NearAddress" }, "unsigned_transaction": { "$ref": "#/$defs/UnsignedTransaction" }, "unsigned_transaction_hash": { "$ref": "#/$defs/UnsignedTransactionHash" }, "amount": { "$ref": "#/$defs/NearYocto" }, "wallet_address": { "$ref": "#/$defs/NearAddress" }, "public_key": { "$ref": "#/$defs/NearPublicKey" }, "expiration_time": { "$ref": "#/$defs/ExpirationTime" } }, "$defs": { "ExpirationTime": { "type": "integer", "description": "Transaction expiration time", "format": "int64" }, "NearAddress": { "type": "string", "description": "Base58 encoded public key or registered named account. [Accounts](https://docs.near.org/concepts/basics/accounts/account-id/).", "pattern": "^([a-km-zA-HJ-NP-Z1-9]{22,44})|((([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+)$" }, "NearPublicKey": { "type": "string", "description": "Base58 encoded public key prefixed by ed25519, associated with the private key that will be used to sign the transaction.", "pattern": "^ed25519:[a-km-zA-HJ-NP-Z1-9]{22,44}$" }, "NearYocto": { "type": "string", "description": "Denomination of NEAR Protocol.", "pattern": "^[1-9]\\d+$" }, "UnsignedTransaction": { "type": "string", "format": "base64", "description": "Generated unsigned transaction smart contract call data." }, "UnsignedTransactionHash": { "type": "string", "format": "base64", "description": "A generated transaction that is ready to sign." } } }