1. The Fuel Rust SDK
  2. 1. Getting Started
    1. 1.1. Setup and Run
    2. 1.2. Terminology
    3. 1.3. Connecting to a Fuel node
      1. 1.3.1. Connecting to the Testnet or an external node
      2. 1.3.2. Running a short-lived Fuel node with the SDK
      3. 1.3.3. Querying the blockchain
    4. 1.4. Managing wallets
      1. 1.4.1. Creating a wallet from a private key
      2. 1.4.2. Creating a wallet from mnemonic phrases
      3. 1.4.3. Wallet Access
      4. 1.4.4. Encrypting and storing wallets
      5. 1.4.5. Checking balances and coins
      6. 1.4.6. Setting up test wallets
      7. 1.4.7. Signing
      8. 1.4.8. Transferring assets
    5. 1.5. Generating bindings with abigen!
      1. 1.5.1. The JSON ABI file
      2. 1.5.2. The abigen! macro
    6. 1.6. Deploying contracts
      1. 1.6.1. Interacting with contracts
      2. 1.6.2. The FuelVM Binary file
    7. 1.7. Calling contracts
      1. 1.7.1. Connecting wallets
      2. 1.7.2. Transaction parameters
      3. 1.7.3. Call parameters
      4. 1.7.4. Call response
      5. 1.7.5. Logs
      6. 1.7.6. Variable outputs and messages
      7. 1.7.7. Read-only calls
      8. 1.7.8. Calling other contracts
      9. 1.7.9. Multiple contract calls
      10. 1.7.10. Transaction dependency estimation
      11. 1.7.11. Estimating cost
    8. 1.8. Running scripts
    9. 1.9. Predicates
      1. 1.9.1. Predicate data
      2. 1.9.2. Signatures example
    10. 1.10. Types
      1. 1.10.1. Bytes32
      2. 1.10.2. Address
      3. 1.10.3. ContractId
      4. 1.10.4. AssetId
      5. 1.10.5. Converting native types
      6. 1.10.6. Bech32
      7. 1.10.7. Structs and enums
      8. 1.10.8. String
      9. 1.10.9. Bits256
      10. 1.10.10. B512
      11. 1.10.11. EvmAddress
      12. 1.10.12. Vectors
  3. 2. API
  4. 3. Debugging
    1. 3.1. Debugging abigen errors
    2. 3.2. Debugging contract call errors
    3. 3.3. Debugging network errors
    4. 3.4. The Function selector
  5. 4. Testing
    1. 4.1. Tweaking the blockchain
    2. 4.2. The setup_contract_test! macro
  6. 5. Cookbook
    1. 5.1. Custom consensus parameters
    2. 5.2. Deposit and Withdraw
    3. 5.3. Transfer all assets
  7. 6. Contributing
    1. 6.1. Integration tests structure
  8. 7. Command Line Interfaces
    1. 7.1. fuels-abi-cli

The Fuel Rust SDK

Debugging contract call errors