Giter Site home page Giter Site logo

expire time setting about tronweb HOT 4 CLOSED

tronprotocol avatar tronprotocol commented on July 24, 2024
expire time setting

from tronweb.

Comments (4)

sullof avatar sullof commented on July 24, 2024

What do you mean? Can you give me some example?

from tronweb.

wangsai-silence avatar wangsai-silence commented on July 24, 2024
{
	"txID": "2e93c94e61a6efb65610e2c2e0c4ef67163d247953c57380c5a7613d7d3abd4c",
	"raw_data": {
		"contract": [{
			"parameter": {
				"value": {
					"amount": 500000,
					"owner_address": "41ba3543863ed610c196e26720dea72cd2568b15f6",
					"to_address": "4139a5ef0cff9265c4e307bb9f0251dabe61299018"
				},
				"type_url": "type.googleapis.com/protocol.TransferContract"
			},
			"type": "TransferContract"
		}],
		"ref_block_bytes": "0032",
		"ref_block_hash": "2692bb964cfb6011",
		"expiration": 1558413849000,
		"timestamp": 1558407849658
	},
	"raw_data_hex": "0a02003222082692bb964cfb601140a8e3d0c5ad2d5a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541ba3543863ed610c196e26720dea72cd2568b15f612154139a5ef0cff9265c4e307bb9f0251dabe6129901818a0c21e70bacde2c2ad2d"
}

every transaction has a expiration field. With Tron Java SDK, I can set this field when creating transactions. So how can I set it by using this JS SDK.

from tronweb.

whenislunch avatar whenislunch commented on July 24, 2024

I'd also like to see this feature

from tronweb.

sullof avatar sullof commented on July 24, 2024

This has been added.

from tronweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.