Local/Transaction/Ethereum
// Set your API Keys 👇 here
$sdk = new \Tatum\Sdk();
// MainNet Local/Transaction/Ethereum
$sdk->mainnet()->local()->transaction()->ethereum();
// TestNet Local/Transaction/Ethereum
$sdk->testnet()->local()->transaction()->ethereum();
Ethereum Transaction
Method | Description |
---|---|
sign() | Sign transaction |
sign()
Example
#️⃣ Execute command in terminal
Type signature
(new \Tatum\Sdk())->{mainnet/testnet}()->local()->transaction()->ethereum()->sign(
\Tatum\Model\TransferEthBlockchain $transfer
): string
Parameters
Name | Type | Description | Notes |
---|---|---|---|
$transfer | \Tatum\Model\TransferEthBlockchain | Transfer request |
Return type
Signed transaction hex (string
)
Description
Sign transaction