Validate address and also create output script
GEThttp://localhost:8080/validate_address/:address
Validate address and also create output script
Request
Path Parameters
address stringrequired
Base58 address to be decoded
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
- valid_address
Schema
valid boolean
script string
address string
type string
Possible values: [p2pkh
, multisig
]
{
"valid": true,
"script": "string",
"address": "string",
"type": "p2pkh"
}
Valid P2PKH address response
{
"valid": true,
"script": "dqkUr6YAVWv0Ps6bjgSGuqMb1GqCw6+IrA==",
"address": "HNXsVtRUmwDCtpcCJUrH4QiHo9kUKx199A"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
ResponseClear