Skip to main content

writeContractFunction

POST 

/api/v1/contracts/:id/write/

Write a function from a contract using a vault

Request

Path Parameters

    id stringrequired

Body

required
    vaultId stringrequired
    functionName stringrequired
    args undefined[]required
    value stringrequired

Responses

Default Response

Schema
    error booleanrequired

    Possible values: [false]

    statusCode numberrequired

    Possible values: [201]

    data objectrequired
    id stringrequired
    hash stringrequired
    from stringrequired
    to stringrequired
    value stringrequired
    blockchainId integerrequired
    vaultId stringrequired
    contractId stringrequired
    status stringrequired

    Possible values: [TO_BE_SENT, FAILED_TO_SEND, SENT, CONFIRMED, FAILED]

Loading...