Skip to main content

Deploy contract endpoint

Method: POST

/gateway/deploy-contract - allows to deploy contract or contract with contract source. Transaction is firstly wrapped in a data item as described in the Arweave standard ANS-104 and then uploaded to Bundlr. Finally, it is indexed in Warp gateway.

Example request:

const body = {

await fetch(``, {
method: 'POST',
body: JSON.stringify(body),
headers: {
'Accept-Encoding': 'gzip, deflate, br',
'Content-Type': 'application/json',
Accept: 'application/json',