Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synced and styled P Chain API plus a couple of small fixes and additions #26

Merged
merged 1 commit into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/avalanchego-apis/issuing-api-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An API call is made to an endpoint, which is a URL. The base of the URL is alway
where

* `node-ip` is the IP address of the node the call is to.
* `http-port` is the port the node listens on for HTTP calls. This is specified by [command-line argument](../references/command-line-interface.md#arguments) `http-port` \(default value `9650`\).
* `http-port` is the port the node listens on for HTTP calls. This is specified by [command-line argument](../references/command-line-interface.md#http-server) `http-port` \(default value `9650`\).

For example, the base URL might look like this: `127.0.0.1:9650`.

Expand All @@ -31,7 +31,7 @@ That means that the endpoint we send our API call to is:

The X-Chain API documentation tells us that the signature of `getTxStatus` is:

[`avm.getTxStatus`](https://docs.avax/build/apis/exchange-chain-x-chain-api#avm-gettxstatus)`(txID:bytes) -> (status:string)`
[`avm.getTxStatus`](exchange-chain-x-chain-api.md#avm-gettxstatus)`(txID:bytes) -> (status:string)`

where:

Expand Down
Loading