script
Convert an address to hex-encoded serialized ErgoTree (script)
get/script/addressToTree/{address}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /script/addressToTree/{address}
- Auth: none declared
Path parameters
addressstring required
Encoded Ergo Address
Example:3WwbzW6u8hKWBcL1W7kNVMr25s2UHfSBnYtwSHvrRQt7DdPuoXrt
address to get a script from
Response
Base16-encoded ErgoTree (script)
Example response
{
"tree": "02a7955281885bf0f0ca4a48678848cad8dc5b328ce8bc1d4481d041c98e891ff3"
}Changes
No recorded changes to this operation across all 9 revisions of this API.