Skip to content

Commit

Permalink
fix: broken doc link (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz authored Apr 5, 2023
1 parent 181ef00 commit b278b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/calling-contracts/call-response.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Once you unwrap the `FuelCallResponse`, you have access to this struct:

Where `value` will hold the value returned by its respective contract method, represented by the exact type returned by the FuelVM, E.g., if your contract returns a FuelVM's `u64`, `value`'s `D` will be a `u64`. If it's a FuelVM's tuple `(u8,bool)`, then `D` will be a `(u8,bool)`. If it's a custom type, for instance, a Sway struct `MyStruct` containing two components, a `u64`, and a `b256`, `D` will be a struct generated at compile-time, called `MyStruct` with `u64` and a `[u8; 32]` (the equivalent of `b256` in Rust-land).

- `receipts` will hold all [receipts](https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/abi.md#receipt) generated by that specific contract call.
- `receipts` will hold all [receipts](https://specs.fuel.network/master/protocol/abi/receipts.html) generated by that specific contract call.
- `gas_used` is the amount of gas it consumed by the contract call.

## Error handling
Expand Down

0 comments on commit b278b12

Please sign in to comment.