validate_stacks_address
Verify Stacks blockchain address format and network compatibility to ensure valid transactions and interactions with the blockchain.
Instructions
Validate a Stacks address format and check if it's correctly formatted for the specified network.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | Address to validate | |
network | No | Network to validate against |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "Address to validate",
"type": "string"
},
"network": {
"description": "Network to validate against",
"enum": [
"mainnet",
"testnet"
],
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}