Skip to main content

The Operation Object

Each of Stellar’s operations have unique response shapes. Below are the attributes that are common across individual operation objects.

See the generic Operation errors.

  • ATTRIBUTEDATA TYPE

    DESCRIPTION

  • idnumber

    The operation's ID number.

  • paging_tokenstring

    A cursor value for use in pagination.

  • type_inumber

    A number indicating the operation type.

  • typestring

    The name of the operation type.

  • transaction_hashstring

    A unique identifier for the transaction this operation belongs to.

  • transaction_successfulboolean

    Indicates if this operation was part of a successful transaction.

  • source_accountstring

    The account that originates the operation.

  • created_atstring

    The date this operation was created.

  • Example
    {
    "_links": {
    "effects": {
    "href": "/operations/402494270214144/effects/{?cursor,limit,order}",
    "templated": true
    },
    "precedes": {
    "href": "/operations?cursor=402494270214144&order=asc"
    },
    "self": {
    "href": "/operations/402494270214144"
    },
    "succeeds": {
    "href": "/operations?cursor=402494270214144&order=desc"
    },
    "transactions": {
    "href": "/transactions/402494270214144"
    }
    },
    "id": 402494270214144,
    "paging_token": "402494270214144",
    "type_i": 0,
    "type": "create_account"
    }