JSON-RPC
protocol.GET NodeUrl/chains/[chain_id]/blocks/[blocks_id]
GET https://mainnet-tezos.giganode.io/chains/main/blocks/1400114
GET NodeUrl/chains/[chain_id]/blocks/[blocks_id]/context/contracts/[contract_id]/storage
GET https://mainnet-tezos.giganode.io/chains/main/blocks/1400114/context/contracts/KT1Hkg5qeNhfwpKW4fXvq7HGZB9z2EnmCCA9/storage
$ brew install tezos-client
$ sudo add-apt-repository ppa:serokell/tezos && sudo apt-get update
$ sudo apt-get install -y tezos-client
$ dnf copr enable -y @Serokell/Tezos && dnf update -y
$ dnf install -y tezos-client
#accountName
and #faucet
below with an account name and the path to your downloaded faucet file.$ tezos-client activate account #accountName with ~/Downloads/#faucet.json
$ tezos-client activate account user1 with ~/Downloads/tz1VH3sHQ5SNby95S9EtPQBqZrhgv2DqjPvy.json
$ tezos-client --help
$ tezos-client [global options] command --help
$ tezos-client --version
$ tezos-client get balance for #accountName
$ tezos-client get timestamp
$ tezos-client list known addresses
$ tezos-client list known contracts
$ tezos-client transfer 30 from user1 to user2 --burn-cap 0.5
--burn-cap
specifies the maximum fee the user is willing to pay for this operation. The actual fee is determined by the network.--dry-run
if you just want to practice by running a transaction simulation instead of a real transaction.Current head: BM3smBpBVtHD (timestamp: 2021-03-12T09:42:28.000-00:00, validation: 2021-03-12T09:42:38.372-00:00)Node is bootstrapped.Estimated gas: 1000 units (will add 100 for safety)Operation successfully injected in the node.Operation hash is 'oo4745Q5mq8snHYAxUYWedBCVb7yQJ7jvFhKECPN9xqgwE4Ni8A'Waiting for the operation to be included...Operation found in block: BKnKoaYqCz3dTWr66x4X1mvXC95kuozRkdd23LDuM5ZA1ayF5mi (pass: 3, offset: 0)This sequence of operations was run: Manager signed operations: From: tz1gWQz5iTP6UDkWjm1jnKsCq1HHG4hgEmJn Fee to the baker: ꜩ0.000369 Expected counter: 1412932 Gas limit: 1100 Storage limit: 0 bytes Balance updates: tz1gWQz5iTP6UDkWjm1jnKsCq1HHG4hgEmJn ............. -ꜩ0.000369 fees(tz1aWXP237BLwNHJcCD4b3DutCevhqq2T1Z9,248) ... +ꜩ0.000369 Revelation of manager public key: Contract: tz1gWQz5iTP6UDkWjm1jnKsCq1HHG4hgEmJn Key: edpktpMjpmsK6fLKGrXzhp67tRdu2m5HyzGrp1tuS8ZJBc7dGqBeAq This revelation was successfully applied Consumed gas: 1000
$ brew install tezos-admin-client
$ sudo add-apt-repository ppa:serokell/tezos && sudo apt-get update$ sudo apt-get install -y tezos-admin-client
$ dnf copr enable -y @Serokell/Tezos && dnf update -y$ dnf install -y tezos-admin-client
$ tezos-admin-client --help
$ tezos-admin-client [global options] command --help
$ tezos-admin-client --version
$ tezos-admin-client rpc list [URL]
$ tezos-admin-client rpc schema [HTTP method] [url]
$ tezos-admin-client rpc get [url]
$ tezos-admin-client list protocols
$ tezos-admin-client rpc post [url] with [input]
$ tezos-admin-client inject protocol [given_dir]
$ tezos-admin-client list heads [-o --output [path]]
$ tezos-admin-client config show
$ tezos-admin-client config update
$ tezos-admin-client tezos-admin-client p2p stat