Home

Starknet Add Deploy Account Transaction

v1.0.0
Base URL
https://starknet.nownodes.ioNOWNodes Starknet mainnet endpoint

Deploys a new Starknet account contract by submitting a deploy account transaction.

Authentication

api-keyAuthapiKey

NOWNodes API key passed in the api-key header.

API Key: api-key in header

Node

Node

Starknet Node JSON-RPC methods

Starknet Add Deploy Account Transaction

POST
https://starknet.nownodes.io/

Deploys a new Starknet account contract by submitting a deploy account transaction.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_addDeployAccountTransactionrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Block Hash and Number

POST
https://starknet.nownodes.io/

Returns the hash and number of the latest accepted block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_blockHashAndNumberrequired
paramsArray<any>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Block Number

POST
https://starknet.nownodes.io/

Returns the number of the latest accepted block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_blockNumberrequired
paramsArray<any>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Call

POST
https://starknet.nownodes.io/

Calls a contract function without creating a transaction.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_callrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Chain ID

POST
https://starknet.nownodes.io/

Returns the Starknet chain identifier.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_chainIdrequired
paramsArray<any>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Estimate Fee

POST
https://starknet.nownodes.io/

Estimates the fee for one or more transactions without submitting them.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_estimateFeerequired
paramsArray<Array<object>>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Block Transaction Count

POST
https://starknet.nownodes.io/

Returns the number of transactions in a block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getBlockTransactionCountrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Block With Receipts

POST
https://starknet.nownodes.io/

Returns a block with full transactions and their receipts.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getBlockWithReceiptsrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Block With Tx Hashes

POST
https://starknet.nownodes.io/

Returns a block including transaction hashes.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getBlockWithTxHashesrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Block With Txs

POST
https://starknet.nownodes.io/

Returns a block including full transaction objects.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getBlockWithTxsrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Class

POST
https://starknet.nownodes.io/

Returns a contract class by class hash at a specified block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getClassrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Class At

POST
https://starknet.nownodes.io/

Returns the contract class deployed at an address in a specified block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getClassAtrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Contract Class Hash

POST
https://starknet.nownodes.io/

Returns the class hash of the contract deployed at an address.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getClassHashAtrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Events

POST
https://starknet.nownodes.io/

Returns events matching a filter with pagination.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getEventsrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Nonce

POST
https://starknet.nownodes.io/

Returns the nonce of a contract at a specified block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getNoncerequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get State Update

POST
https://starknet.nownodes.io/

Returns the state update for a block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getStateUpdaterequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Storage

POST
https://starknet.nownodes.io/

Returns the value of a contract storage key at a specified block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getStorageAtrequired
paramsArray<string>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Transaction By Hash

POST
https://starknet.nownodes.io/

Returns a transaction by its hash.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getTransactionByHashrequired
paramsArray<string>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Transaction Receipt

POST
https://starknet.nownodes.io/

Returns the receipt of a transaction.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getTransactionReceiptrequired
paramsArray<string>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Get Transaction Status

POST
https://starknet.nownodes.io/

Returns the finality and execution status of a transaction.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getTransactionStatusrequired
paramsArray<string>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Spec Version

POST
https://starknet.nownodes.io/

Returns the Starknet JSON-RPC specification version supported by the node.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_specVersionrequired
paramsArray<any>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.

Starknet Syncing Status

POST
https://starknet.nownodes.io/

Returns false when the node is not syncing, otherwise synchronization progress.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_syncingrequired
paramsArray<any>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error

Authorization

api-keyAuthapiKey in header

NOWNodes API key passed in the api-key header.