Multiply two numbers

Calculates the product of two unsigned 64-bit integers

post/multiply

Request

  • Base URL: https://dhctq4vocgpmdbp5so7jfql26q0ubzms.lambda-url.us-east-1.on.aws
  • URL: https://dhctq4vocgpmdbp5so7jfql26q0ubzms.lambda-url.us-east-1.on.aws/multiply
  • Auth: none declared

Request body

ainteger required

First unsigned 64-bit integer

binteger required

Second unsigned 64-bit integer

Example request

{
  "a": 100,
  "b": 200
}

Response

Successful calculation

resultinteger required

Result of the mathematical operation

operation'add' | 'multiply' required

The operation that was performed

tx_hashstring

Transaction hash from blockchain (only for add operation when using blockchain)

Example response

{
  "result": 300,
  "operation": "add",
  "tx_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.