v1

latestOpenAPI 3.0.2CC0 1.0 Universal2026-07-17128129208.3 KB
script

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

get/script/addressToBytes/{address}

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"
}