script

Convert an address to hex-encoded Sigma byte array constant which contains script bytes

get/script/addressToBytes/{address}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /script/addressToBytes/{address}
  • Auth: none declared

Path parameters

addressstring required

Encoded Ergo Address

Example:3WwbzW6u8hKWBcL1W7kNVMr25s2UHfSBnYtwSHvrRQt7DdPuoXrt

address to get a script from

Response

Base16-encoded Sigma byte array constant which contains script bytes

bytesstring base16 required

Base16-encoded bytes

Example response

{
  "bytes": "4ab9da11fc216660e974842cc3b7705e62ebb9e0bf5ff78e53f9cd40abadd117"
}

Changes

No recorded changes to this operation across all 9 revisions of this API.